package com.dd.cloud.user.mapper.doctor;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dd.cloud.user.entity.doctor.DoctorIntegral;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 * 医生积分表 Mapper 接口
 * </p>
 *
 * @author czg
 * @since 2023-10-07
 */
public interface DoctorIntegralMapper extends BaseMapper<DoctorIntegral> {

    /**
     * 查询积分列表
     *
     * @param status
     * @param doctorId
     * @param endTime
     * @param startTime
     * @return
     */
    List<DoctorIntegral> queryIntegralList(@Param("status") String status,
                                           @Param("doctorId") Integer doctorId,
                                           @Param("startTime") LocalDate startTime,
                                           @Param("endTime") LocalDate endTime);

    /**
     * 查询积分列表
     * @return
     */
    List<DoctorIntegral> queryDoctorTwoTaskList();
}
